import React from 'react'
import {Suspense} from "react"
import {useRoutes} from "react-router-dom"
import Routerconfig from '../router'
function App() {
  return (
      // 路由白屏优化
     <Suspense fallback={<div>...loading</div>}>
       {
          useRoutes(Routerconfig)
       }
     
     </Suspense>
  )
}

export default App